package com.xbe.quartz.task;

import com.xbe.visibility.service.IVisibilityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 定时任 删除能见度数据
 *
 * @author liuzhiting
 */
@Component("removeSeeingData")
public class RemoveData
{

    @Autowired
    private IVisibilityService visibilityService;


    public void removeData(Integer days)
    {

        visibilityService.removeData(days);

    }


}
